package cn.innosmart.aq.camera.protocol;

/**
 * Created by davidlin1980 on 12/4/14.
 */
public interface CommandCompletionHandler<T> {
    void onCompletion(T result);

    /**
     * Please override this method for handling error in UI presentation.
     *
     * @param error error is a error.
     */
    void onFailed(CommandError error);
}
